Asynchronous Exceptions in Concurrent Object-Oriented Programming
نویسندگان
چکیده
Exceptions in concurrent object-oriented languages with asynchronous call semantics may raise a serious problem in certain situations. Since separate calls are asynchronous it might happen that the context of the enclosing routine, from which the asynchronous call was launched, has been already left and hence any exception raised by the asynchronous call can not be handled anymore by the enclosing routine. In this paper we present a practical solution for this problem, which relies on the notion of busy processors.
منابع مشابه
Exceptions in Concurrent Eiffel
We describe the problem of asynchronous exceptions in Eiffel’s Simple Concurrent Object-Oriented Programming (SCOOP). We discuss a range of possible solutions to further enable dependable computing in concurrent Eiffel. We propose a mechanism to handle aynchronous exceptions via a limited developer choice, including the notion of a failed or dead object, and necessarily introduce a small number...
متن کاملException Semantics in a Parallel Distributed Object Oriented Environment
Exceptions have been used to provide a mechanism in object oriented programming languages for assuring program safety and robustness. Although the implementation of exceptions is well understood in a non-concurrent language environment , its use is not as well established when dealing with the requirements of a parallel or distributed setting. Distributed and concurrent programming introduces m...
متن کاملConcurrent object oriented programming with Asynchronous References
In the very next future, applications will have to be highly concurrent to get some speedup from the new trend of chip-multithreading processor architecture. But writing concurrent applications is provably more difficult than developing sequential ones. We define three objectives a concurrent programming model should target to be massively adopted by the developer community. We propose such a m...
متن کاملExtending conventional languages by distributed/concurrent exception resolution
The state of art in handling and resolving concurrent exceptions is discussed and a brief outline of all research in this area is given. Our intention is to demonstrate that exception resolution is a very useful concept which facilitates joint forward error recovery in concurrent and distributed systems. To do this, several new arguments are considered. We understand resolution as reaching an a...
متن کاملObject - Oriented Concurrent Constraint Programming
1.1 Abstract Oz is a higher-order concurrent constraint programming system under development at DFKI. It combines ideas from logic and concurrent programming in a simple yet expressive language. From logic programming Oz inherits logic variables and logic data structures, which provide for a programming style where partial information about the values of variables is imposed concurrently and in...
متن کامل